home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Personal Computer World 2007 September
/
PCWSEP07.iso
/
Software
/
Linux
/
Linux Mint 3.0 Light
/
LinuxMint-3.0-Light.iso
/
casper
/
filesystem.squashfs
/
usr
/
bin
/
mint-decompress
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Text File
|
2007-05-16
|
317 b
|
19 lines
#!/usr/bin/env python
import sys
import os
mintfile = sys.argv[1]
mintfile = str.strip(mintfile)
directory = str.replace(mintfile, ".mint", "")
os.system("mkdir " + directory)
os.system("cp " + mintfile + " " + directory + "/")
os.chdir(directory)
os.system("tar zxvf " + mintfile)
os.system("rm " + mintfile)